/**
 * 公司类型 enum
 */
export enum CompanyTypeEnum {
  LIMITED_LIABILITY_COMPANY = 'LIMITED_LIABILITY_COMPANY',
  COMPANY_LIMITED = 'COMPANY_LIMITED',
  HONG_KONG_MACAO_TAIWAN_INVESTMENT = 'HONG_KONG_MACAO_TAIWAN_INVESTMENT',
  FOREIGN_INVESTED = 'FOREIGN_INVESTED',
  STATE_OWNED = 'STATE_OWNED',
  COLLECTIVE = 'COLLECTIVE',
  SINGLE_PROPRIETORSHIP = 'SINGLE_PROPRIETORSHIP',
  INDIVIDUAL_BUSINESS = 'INDIVIDUAL_BUSINESS',
  ASSOCIATED_ENTERPRISE = 'ASSOCIATED_ENTERPRISE',
  LIMITED_PARTNERSHIP = 'LIMITED_PARTNERSHIP',
  GENERAL_PARTNERSHIP = 'GENERAL_PARTNERSHIP',
  JOINT_EQUITY_COOPERATIVE = 'JOINT_EQUITY_COOPERATIVE',
  PRIVATE_BUSINESS = 'PRIVATE_BUSINESS',
  OTHER = 'OTHER'
}

/**
 * 公司类型 map
 */
export const CompanyTypeMap = {
  LIMITED_LIABILITY_COMPANY: '有限责任公司',
  COMPANY_LIMITED: '股份有限公司',
  HONG_KONG_MACAO_TAIWAN_INVESTMENT: '港/澳/台商投资企业',
  FOREIGN_INVESTED: '外商投资企业',
  STATE_OWNED: '国有企业',
  COLLECTIVE: '集体企业',
  SINGLE_PROPRIETORSHIP: '独资企业',
  INDIVIDUAL_BUSINESS: '个体工商户',
  ASSOCIATED_ENTERPRISE: '联营企业',
  LIMITED_PARTNERSHIP: '有限合伙',
  GENERAL_PARTNERSHIP: '普通合伙',
  JOINT_EQUITY_COOPERATIVE: '股份合作企业',
  PRIVATE_BUSINESS: '私营企业',
  OTHER: '其他'
};

/**
 * 公司类型 option
 */
export const CompanyTypeOptions = [
  {
    label: CompanyTypeMap.LIMITED_LIABILITY_COMPANY,
    value: 'LIMITED_LIABILITY_COMPANY'
  },
  {
    label: CompanyTypeMap.COMPANY_LIMITED,
    value: 'COMPANY_LIMITED'
  },
  {
    label: CompanyTypeMap.HONG_KONG_MACAO_TAIWAN_INVESTMENT,
    value: 'HONG_KONG_MACAO_TAIWAN_INVESTMENT'
  },
  {
    label: CompanyTypeMap.FOREIGN_INVESTED,
    value: 'FOREIGN_INVESTED'
  },
  {
    label: CompanyTypeMap.STATE_OWNED,
    value: 'STATE_OWNED'
  },
  {
    label: CompanyTypeMap.COLLECTIVE,
    value: 'COLLECTIVE'
  },
  {
    label: CompanyTypeMap.SINGLE_PROPRIETORSHIP,
    value: 'SINGLE_PROPRIETORSHIP'
  },
  {
    label: CompanyTypeMap.INDIVIDUAL_BUSINESS,
    value: 'INDIVIDUAL_BUSINESS'
  },
  {
    label: CompanyTypeMap.ASSOCIATED_ENTERPRISE,
    value: 'ASSOCIATED_ENTERPRISE'
  },
  {
    label: CompanyTypeMap.LIMITED_PARTNERSHIP,
    value: 'LIMITED_PARTNERSHIP'
  },
  {
    label: CompanyTypeMap.GENERAL_PARTNERSHIP,
    value: 'GENERAL_PARTNERSHIP'
  },
  {
    label: CompanyTypeMap.JOINT_EQUITY_COOPERATIVE,
    value: 'JOINT_EQUITY_COOPERATIVE'
  },
  {
    label: CompanyTypeMap.PRIVATE_BUSINESS,
    value: 'PRIVATE_BUSINESS'
  },
  {
    label: CompanyTypeMap.OTHER,
    value: 'OTHER'
  }
];

/**
 * 所属行业 enum
 */
export enum IndustryEnum {
  C3610 = 'C3610',
  C3611 = 'C3611',
  C3612 = 'C3612',
  C3620 = 'C3620',
  C3630 = 'C3630',
  C3640 = 'C3640',
  C3650 = 'C3650',
  C3660 = 'C3660',
  C3670 = 'C3670'
}

/**
 * 所属行业 map
 */
export const IndustryMap = {
  C3610: '汽车整车制造',
  C3611: '汽柴油车整车制造',
  C3612: '新能源车整车制造',
  C3620: '汽车用发动机制造',
  C3630: '改装汽车制造',
  C3640: '低速汽车制造',
  C3650: '电车制造',
  C3660: '汽车车身、挂车制造',
  C3670: '汽车零部件及配件制造'
};

/**
 * 所属行业 options
 */
export const IndustryOptions = [
  {
    label: IndustryMap.C3610,
    value: 'C3610'
  },
  {
    label: IndustryMap.C3611,
    value: 'C3611'
  },
  {
    label: IndustryMap.C3612,
    value: 'C3612'
  },
  {
    label: IndustryMap.C3620,
    value: 'C3620'
  },
  {
    label: IndustryMap.C3630,
    value: 'C3630'
  },
  {
    label: IndustryMap.C3640,
    value: 'C3640'
  },
  {
    label: IndustryMap.C3650,
    value: 'C3650'
  },
  {
    label: IndustryMap.C3660,
    value: 'C3660'
  },
  {
    label: IndustryMap.C3670,
    value: 'C3670'
  }
];
